package com.hee.erp.config;

import java.util.List;

public class ListNotEmptyFilter {

    @Override
    public boolean equals(Object obj) {

        if(obj == null){
            return true;
        }
        if(!(obj instanceof List)){
            return true;
        }

        List<Object> list = (List<Object>) obj;
        if(list.size() == 0){
            return true;
        }

        return false;
    }
}
